package com.management.department.teacherinfosystem.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * 数据库迁移配置类
 * 现在使用Spring Boot的SQL初始化功能
 */
@Slf4j
@Component
public class DatabaseMigrationConfig implements ApplicationRunner {

    @Override
    public void run(ApplicationArguments args) throws Exception {
        log.info("数据库迁移配置已加载");
        log.info("学术成果表将通过schema.sql和data.sql自动创建");
    }
}
